package com.etoak.car.service;

import com.etoak.car.bean.Comment;
import com.etoak.car.bean.vo.CarMoneyResp;
import com.etoak.car.bean.vo.TuResp;
import com.etoak.car.bean.vo.UserMoneyResp;
import com.etoak.car.mapper.TuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TuService {

    @Autowired
    private TuMapper tuMapper;

    public List<TuResp> getDayMoney() {
        return tuMapper.getDayMoney();
    }

    public List<TuResp> getMonthMoney() {
        return tuMapper.getMonthMoney();
    }

    public List<TuResp> getYearMoney() {
        return tuMapper.getYearMoney();
    }

    public List<CarMoneyResp> getCarMoney() {
        return tuMapper.carMoneyResp();
    }

    public List<UserMoneyResp> getUserMoney() {
        return tuMapper.getUserMoney();
    }
}
